package com.lanou3g.demo.service;

import com.lanou3g.demo.controller.params.RoleParams;
import com.lanou3g.demo.entity.AdminInfo;
import com.lanou3g.demo.entity.RoleInfo;

import java.util.List;

public interface IRoleInfoService {

    boolean selectRole(RoleInfo roleInfo);

    RoleInfo selectRoleId(RoleInfo roleInfo);

    List<RoleInfo> findAllWithRole();

    int addRoleWithRoleModule(RoleParams roleParams);

    RoleParams selectRoleModule(RoleInfo roleInfo);

    int deleteRoleWithRoleModule(RoleInfo roleInfo);

}
